package com.jinly.ryder.common.service.model;

import com.fasterxml.jackson.annotation.JsonFormat;

@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public interface BaseEnum {

    String name();

    String getName();

    default String getCode() {
        return name();
    }
}
